package com.sso;

public class SSOData {
	private Boolean loginSuccess;
	private String cookieHash;
	
	SSOData(){
		loginSuccess=false;
		cookieHash = null;
	}
	
	public void setLoginSuccess(Boolean loginSuccess) {
		this.loginSuccess = loginSuccess;
	}
	public Boolean getLoginSuccess() {
		return loginSuccess;
	}
	public void setCookieHash(String cookieHash) {
		this.loginSuccess=true;
		this.cookieHash = cookieHash;
	}
	public void clearCookieHash(){
		this.loginSuccess=false;
		this.cookieHash=null;
	}
	public String getCookieHash() {
		return cookieHash;
	}
	
	

}
